package Demo;

import Demo.Animal;

public class dog extends Animal {
    public dog(String name) {
        super(name);
    }

    public dog() {
        super();
    }

    @Override
    public void cry() {
        System.out.println("小狗旺旺叫");
    }
}
